package com.cn.service.server.Equipment;

import com.cn.bean.vo.Equipment.BusinessDimensionConfiguration;
import com.cn.bean.vo.PartsManagement.BusinessDepartmentType;
import com.cn.bean.vo.PartsManagement.TeamPersonnel;
import com.cn.config.config.Result;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BusinessDimensionConfigurationService {
    List<BusinessDimensionConfiguration> selectBusinessDimensionConfiguration(@Param("limit")int limit, @Param("page")int page, @Param("dimensionCode")String dimensionCode, @Param("dimensionName")String dimensionName);
    Result addBusinessDimensionConfiguration(@Param("dimensionType")int dimensionType, @Param("dimensionName")String dimensionName, @Param("status")int status, @Param("description")String description, List<BusinessDimensionConfiguration> businessDimensionConfigurationList);

    Result deleteBusinessDimensionConfiguration(@Param("idList") List<BusinessDimensionConfiguration> idList);
    List<BusinessDimensionConfiguration> selectBusinessDimensionConfigurationChild(@Param("ID")int ID);
    Result updateBusinessDimensionConfiguration(@Param("ID")int ID,@Param("dimensionType")int dimensionType,@Param("dimensionName")String dimensionName,@Param("status")int status,@Param("description")String description,List<BusinessDimensionConfiguration> businessDimensionConfigurationList);

}
